package com.ddw.meedeeuh.shared.database;

/**
 * Represents a database exception which occurs
 * due to a problem querying, connecting or initializing
 * a database query
 * @author cmcnicholas
 *
 */
@SuppressWarnings("serial")
public class DatabaseException extends Exception {

	/**
	 * Creates a new database exception instance
	 * @param message the message
	 * @param e an inner exception
	 */
	public DatabaseException(String message, Throwable e) {
		super(message, e);
	}

	/**
	 * Creates a new database exception instance
	 * @param message the message
	 */
	public DatabaseException(String message) {
		super(message);
	}

}
